<template>
  <div>
    提示:最基本的通用组件,如ui组件封装等
    {{ $store.state.userInfo.name }}
    <button @click="handleCountPlus"></button>
  </div>
</template>

<script>
export default {
  name: 'Tips',
  methods: {
    handleCountPlus () {
      this.$store.commit('countPlus')
    }
  }
}
</script>

<style lang="scope">
</style>
